<template>
	<view class="content">
		<view class="order-info-row flexr align-center">
			<view class="text-color2">
				订单号
			</view>
			<view class="text-color-primary ">
				OB90000224000158022
			</view>
		</view>
		<view class="order-info-row flexr align-center">
			<view class="text-color2">
				订单状态
			</view>
			<view class="text-color-primary ">
				已完成
			</view>
		</view>
		<view class="order-info-row flexr align-center">
			<view class="text-color2">
				订单类型
			</view>
			<view class="text-color1 ">
				销售单
			</view>
		</view>
		<view class="order-info-row flexr align-center">
			<view class="text-color2">
				时间
			</view>
			<view class="text-color1 ">
				2024-06-10 14:42:26
			</view>
		</view>
		<view class="divider">
			
		</view>
		<view class="product-item" v-for="(item, index) in 2" :key="index">
			<image class="product-item-icon" src="@/static/shop_removed.png"></image>
			<view class="flex-1">
				<view class="flexr text-color1 justify-spacebwt">
					<view>
						35W6-G15时尚绿灰
					</view>
					<view>
						¥ 131.60
					</view>
				</view>
				<view class="flexr text-color1 fontsize24">
					<view>
						<text class="text-color2">单价:</text>
						<text>188</text>
					</view>
					<view>
						<text class="text-color2">折扣:</text>
						<text>70%</text>
					</view>
					<view>
						<text class="text-color2">数量:</text>
						<text>1</text>
					</view>
				</view>
			</view>
		</view>
		<view class="divider">
			
		</view>
		<view class="order-info-row flexr align-center">
			<view class="text-color2">
				订单定金
			</view>
			<view class="text-color-primary ">
				¥ 0.00
			</view>
		</view>
		<view class="order-info-row flexr align-center">
			<view class="text-color2">
				订单尾款
			</view>
			<view class="text-color-primary ">
				¥ 0.00
			</view>
		</view>
		<view class="order-info-row flexr align-center">
			<view class="text-color2">
				订单总金额
			</view>
			<view class="text-color-primary total-price">
				¥ 263.20
			</view>
		</view>
	</view>
</template>

<script setup>
	
</script>

<style lang="scss">
.content {
	padding-top: 32rpx;
	padding-left: 32rpx;
	padding-right: 32rpx;
	overflow-y: scroll;
	background-color: white;
	.order-info-row {
		height: 88rpx;
		min-height: 88rpx;
		justify-content: space-between;
		align-self: stretch;
	}
	.divider {
		margin: 30rpx 0;
	}
	.total-price {
		font-size: 36rpx;
	}
	.product-item {
		height: 160rpx;
		min-height: 160rpx;
		align-items: center;
		display: flex;
		.product-item-icon {
			width: 112rpx;
			height: 112rpx;
			border-radius: 12rpx;
			margin-right: 16rpx;
		}
		.fontsize24 {
			font-size: 24rpx;
			margin-top: 10rpx;
		}
	}
}
</style>
